import instance from "./request"

//查询用户
export const selectemploy = function(){
    return instance.get('/selectemploy')
}

//新建员工信息
export const addemploy = function(data){
    return instance.post('/addemploy',data)
}

//删除员工信息
export const deleteemploy = function(data){
    return instance.post('/deleteemploy',data)
}

//编辑员工信息
export const updateemploy = function(data){
    return instance.post('/updateemploy',data)
}

//删除多条员工信息
export const deletemoreemploy = function(data){
    return instance.post('/deletemoreemploy',data)
}